package cn.fldong.employee.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

// UserEntity 实体类
public class EmployeeEntity implements Serializable {
    // 员工信息表必须包含字段：工号ID、姓名、性别、年龄、部门、职位、入职日期、工资
    private int empID;
    private String empName;
    private String empGender;
    private int empAge;
    private String empDepartment;
    private String empPosition;
    private String empHireDate;
    private BigDecimal empSalary;
    public EmployeeEntity() {
    }

    public int getEmpID() {
        return empID;
    }

    public void setEmpID(int empID) {
        this.empID = empID;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpGender() {
        return empGender;
    }

    public void setEmpGender(String empGender) {
        this.empGender = empGender;
    }

    public int getEmpAge() {
        return empAge;
    }

    public void setEmpAge(int empAge) {
        this.empAge = empAge;
    }

    public String getEmpDepartment() {
        return empDepartment;
    }

    public void setEmpDepartment(String empDepartment) {
        this.empDepartment = empDepartment;
    }

    public String getEmpPosition() {
        return empPosition;
    }

    public void setEmpPosition(String empPosition) {
        this.empPosition = empPosition;
    }

    public String getEmpHireDate() {
        return empHireDate;
    }

    public void setEmpHireDate(String empHireDate) {
        this.empHireDate = empHireDate;
    }

    public BigDecimal getEmpSalary() {
        return empSalary;
    }

    public void setEmpSalary(BigDecimal empSalary) {
        this.empSalary = empSalary;
    }

    public EmployeeEntity(int empID,String empName, String empGender, int empAge, String empDepartment, String empPosition, String empHireDate, BigDecimal empSalary) {
        this.empID = empID;
        this.empName = empName;
        this.empGender = empGender;
        this.empAge = empAge;
        this.empDepartment = empDepartment;
        this.empPosition = empPosition;
        this.empHireDate = empHireDate;
        this.empSalary = empSalary;
    }
}
